package com.example.service;

import com.example.entity.Grade;

import java.util.List;
import java.util.Map;

public interface GradeService {
    boolean addGrade(Grade grade);
    boolean updateGrade(Grade grade);
    boolean deleteGrade(Long id);
    Grade getGradeById(Long id);
    List<Grade> getGradeList(Grade grade);
    List<Grade> getGradesByStudentId(Long studentId);
    List<Grade> getGradesByCourseId(Long courseId);
    Map<String, Object> getCourseStatistics(Long courseId);
}